Skip to content

Completed HW- Week2#14

Open
RollySeth wants to merge 1 commit intofrontend-application-development-uw20:masterfrom
RollySeth:master
Open

Completed HW- Week2#14
RollySeth wants to merge 1 commit intofrontend-application-development-uw20:masterfrom
RollySeth:master

Conversation

@RollySeth
Copy link

Week 2 HW Submission

Please fill out the information below in order to complete your assignment. Feel free to update this comment later if necessary.

  • Comfort rating on this assignment: 4
  • Completion rating on this assignment: complete

CompletedScreenshot

@RollySeth
Copy link
Author

Completed

function App() {
return (
<div className="App">
<table>

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tables!

import Moment from 'moment';

class AuthorInfo extends React.Component {
static propTypes= {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, static!

render(){
return (

<img style={{height: 30,width:30, borderRadius:50, marginLeft:3, marginRight:5, marginTop:3, marginBottom:5}} src={this.props.src} resizeMode={"cover"} alt="this is a blog post" />

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"this is a blog post" 😆


return (

<div className="Blog-ForYou">

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typically classNames are lower case and dash separated blog-for-you, same with ids

/>

{/* <td>
{ yourArticlesList.author.isMediumMember === true ?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Try not to leave commented code in your completed assignment.

@@ -0,0 +1,19 @@
import React from 'react';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This component is just a wrapper for a <img /> tag and you probably don't need it? 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants